peoples = ['zhangsan', 'lisi', 'wangerma', 'xiaohu', 'xiaozhao', 'xiaosun']

if peoples == []:
        print("We need to find some user!")
for admin in peoples:
    if 'xiaohu' == admin:
        print("Hello admin, would you like to see a status report?")
    else:
        print("Hello Eric, thank you for logging in again\n")

#5-10 检查用户名
current_users = ['aoli', 'fear', 'JON', 'kari', 'mori']
new_users = ['aoli', 'mirra', 'jon', 'kari', 'mori']
for new_user in current_users:
    if new_user.upper() != new_user in new_users:
        print("名字已被使用，请重新创建")
    else:
        print("名字未被使用，可创建")

#有个问题没解决的，不区分大小写：有jon的时候提示JON已被使用，请重新创建


numbers = ['1','2','3','4','5','6','7','8','9']
for number in numbers:
    if number == '1':
        print(number + 'st')
    elif number == '2':
        print(number + 'nd')
    else:
        print(number + "th")

